package com.dlyk.service;

import com.dlyk.model.Customer;
import com.dlyk.query.CustomerQuery;
import com.github.pagehelper.PageInfo;
import jakarta.servlet.http.HttpServletResponse;

import java.io.IOException;
import java.util.List;

public interface CustomerService {

    int saveCustomerByClue(CustomerQuery customerQuery);

    PageInfo<Customer> getCustomerListByPage(Integer current);

    void exportCustomerListByExcel(HttpServletResponse response, List<String> ids) throws IOException;

    Customer getCustomerDetailById(Integer id);

    int editCustomer(CustomerQuery customerQuery);
}

